<?php

namespace Application\Form;

use Zend\Form\Annotation;

/**
 * @Annotation\Hydrator("Zend\Stdlib\Hydrator\ObjectProperty")
 * @Annotation\Name("form_login")
 */
class LoginForm {

    /**
     * @Annotation\Type("Zend\Form\Element\Text")
     * @Annotation\Required({"required":"true" })
     * @Annotation\Filter({"name":"StripTags"})
     * @Annotation\Options({"label":"Tên đăng nhập:"})
     * @Annotation\Attributes({"placeholder":"Tên đăng nhập"})
     * @Annotation\Attributes({"id":"username"})
     * @Annotation\Attributes({"class":"textboxLogin"})
     */
    public $userName;

    /**
     * @Annotation\Type("Zend\Form\Element\Password")
     * @Annotation\Required({"required":"true" })
     * @Annotation\Attributes({"id":"password"})
     *  @Annotation\Attributes({"class":"textboxLogin"})
     * @Annotation\Filter({"name":"StripTags"})
     */
    public $password;

    /**
     * @Annotation\Type("Zend\Form\Element\Submit")
     * @Annotation\Attributes({"class":"btnLogin"})
     * @Annotation\Attributes({"value":"Đăng nhập"})
     */
    public $submit;

}